package com.jd.mysql.mgr.service.impl;

import com.jd.mysql.mgr.dao.MgrDbConfigurationDAO;
import com.jd.mysql.mgr.pojo.MgrDbConfiguration;
import com.jd.mysql.mgr.service.IMgrDbConfigurationService;

public class MgrDbConfigurationServiceImpl implements
		IMgrDbConfigurationService {

	public MgrDbConfigurationDAO mgrDbConfigurationDAO;
	
	
	
	public void setMgrDbConfigurationDAO(MgrDbConfigurationDAO mgrDbConfigurationDAO) {
		this.mgrDbConfigurationDAO = mgrDbConfigurationDAO;
	}

	public void deleteMgrDbConfiguration(MgrDbConfiguration mgrBbcnf) {
		// TODO Auto-generated method stub
		mgrDbConfigurationDAO.deleteMgrDbConfiguration(mgrBbcnf);
	}

	public MgrDbConfiguration findMgrDbConfigurationById(Integer id) {
		// TODO Auto-generated method stub
		return mgrDbConfigurationDAO.findMgrDbConfigurationById(id);
	}

	public void saveMgrDbConfiguration(MgrDbConfiguration mgrBbcnf) {
		// TODO Auto-generated method stub
		mgrDbConfigurationDAO.saveMgrDbConfiguration(mgrBbcnf);
	}

	public void updateMgrDbConfiguration(MgrDbConfiguration mgrBbcnf) {
		// TODO Auto-generated method stub
		mgrDbConfigurationDAO.updateMgrDbConfiguration(mgrBbcnf);
	}

}
